local bodilu = fk.CreateSkill {
  name = "bodilu",
  tags = { Skill.Compulsory },
}

Fk:loadTranslationTable{
  ["bodilu"] = "迪卢",
  [":bodilu"] = "锁定技，你至其他角色的距离-2；出牌阶段，你使用杀的次数上限+2。",
  
}

-- 距离修正效果
bodilu:addEffect("distance", {
  correct_func = function(self, from, to)
    if from:hasSkill(bodilu.name) and from ~= to then
      return -2  -- 你至其他角色的距离-2
    end
    return 0
  end,
})

-- 杀次数上限修正效果
bodilu:addEffect("targetmod", {
  residue_func = function(self, player, s, scope)
    if player:hasSkill(bodilu.name) and s.trueName == "slash_skill" and scope == Player.HistoryPhase then
      return 1  -- 杀的使用次数上限+2
    end
    return 0
  end,
})

return bodilu